<?php
class Model_AuthItem
{
	public $deniedByAction;
	public $deniedByController;
	
	
	public function addNewDeniedByAction($controller, $action, $role){
		if ( $this->deniedByAction==null)
			 $this->deniedByAction=Array();
		array_push($this->deniedByAction, Array($controller,$action,$role));	
	}
	public function addNewDeniedByController($controller, $role){
		if ( $this->deniedByController==null)
			$this->deniedByController=Array();
		array_push($this->deniedByController, Array($controller,$role));
	}
}